package com.gxa.pingan.pojo;

import com.alibaba.excel.annotation.ExcelProperty;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.sql.Timestamp;
import java.util.Date;

/**
 * ETC表实体类
 * @author lijianmin
 * @date 2021/10/25  14:32:14
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class ETC {
    /**
     * 编号
     */
    @ExcelProperty(value = "编号",index = 0)
    @ApiModelProperty(name = "id",value = "id",notes = "编号",dataType = "Long",example = "编号")
    private Long id;
    /**
     * 姓名
     */
    @ExcelProperty(value = "姓名",index = 1)
    @ApiModelProperty(name = "name",value = "name",notes = "姓名",dataType = "String",example = "姓名")
    private String name;
    /**
     * 手机号
     */
    @ExcelProperty(value = "手机号",index = 2)
    @ApiModelProperty(name = "phone",value = "phone",notes = "手机号",dataType = "String",example = "手机号")
    private String phone;
    /**
     * 车牌号
     */
    @ExcelProperty(value = "车牌号",index = 3)
    @ApiModelProperty(name = "carNum",value = "carNum",notes = "车牌号",dataType = "String",example = "车牌号")
    private String carNum;
    /**
     * 是否是京籍
     */
    @ExcelProperty(value = "是否是京籍",index = 4)
    @ApiModelProperty(name = "isJing",value = "isJing",notes = "是否是京籍",dataType = "Boolean",example = "是否是京籍")
    private Boolean isJing;
    /**
     * 地址
     */
    @ExcelProperty(value = "地址",index = 5)
    @ApiModelProperty(name = "address",value = "address",notes = "地址",dataType = "String",example = "地址")
    private String address;
    /**
     * 申请时间
     */
    @ExcelProperty(value = "申请时间",index = 6)
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    @ApiModelProperty(name = "applyTime",value = "applyTime",notes = "申请时间",dataType = "Date",example = "申请时间")
    private Date applyTime;
    /**
     * 银行名称
     */
    @ExcelProperty(value = "银行名称",index = 7)
    @ApiModelProperty(name = "bankName",value = "bankName",notes = "银行名称",dataType = "String",example = "银行名称")
    private String bankName;
}
